package com.aizuda.boot.modules.business.contract.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 合同流程适用合同类型关联实体类
 *
 * @Author sangyirong
 * @Version 1.0
 * @Date 2025/5/20 13:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("contract_workflow_type")
public class ContractWorkflowTypeEntity {

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "关联ID")
    private Integer id;

    @Schema(description = "流程ID")
    private Long workflowId;

    @Schema(description = "合同类型ID")
    private Integer contractTypeId;

    @Schema(description = "创建时间")
    private Date createdAt;

    @Schema(description = "更新时间")
    private Date updatedAt;
}
